<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<%@ page contentType="text/html;charset=utf-8"%>
<html>
<head>
    <meta charset="utf-8">
    <title>
        资源下载-图片添加
    </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../css/x-admin.css" media="all">
    <%--<link rel="stylesheet" href="/css/layui.css"  media="all">--%>
    <link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.css"/>
    <link rel="stylesheet" href="/js/calendar/skin/WdatePicker.css"/>
    <link href="http://www.jq22.com/jquery/bootstrap-3.3.4.css" rel="stylesheet">
    <link type="text/css" rel="stylesheet" href="../js/jedate/test/jeDate-test.css">
    <link type="text/css" rel="stylesheet" href="../js/jedate/skin/jedate.css">
    <script type="text/javascript" src="../js/jedate/src/jedate.js"></script>

</head>

<body>

<div class="providerAdd">
    <form id="userForm" name="userForm" method="post" enctype="multipart/form-data"
          action="${pageContext.request.contextPath}/keshi/save">
        <%--<input type="hidden" name="method" value="add">--%>
        <!--div的class 为error是验证错误，ok是验证成功-->
        <div class="form-group">
            <label for="ucode">编号：</label>
            <input type="text" name="ucode" id="ucode" value="">
            <!-- 放置提示信息 -->
            <font color="red"></font>
        </div>
        <div>
            <label >所属类别：</label>
            <select name="leibie" id="leibie">
                <option value="1">脑部图片</option>
                <option value="2">胸腔图片</option>
                <option value="3">四肢图片</option>
            </select>
        </div>
        <%--    <div class="form-group">
                <label for="ucode">内容：</label>
                <textarea id="L_content" name="fCondition"
                                  placeholder="简介" style="height: 260px;">简介</textarea>
                <!-- 放置提示信息 -->
                <font color="red"></font>
            </div>--%>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    医嘱内容
                </label>
                <div class="layui-input-inline">
                <textarea type="password" style="width: 400px;height: 100px" id="fCondition" name="fCondition"
                          class="layui-input"></textarea>
                </div>
            </div>
        <div>
            <label for="link3">时间：</label>
            <input type="text" Class="link3" id="link3" name="fTime"
                    onclick="WdatePicker()">
            <font color="red"></font>
        </div>
            <div>
            <input type="hidden" id="errorinfo" value=""/>
            <label for="a_idPicPath">上传图片</label>
            <input type="file" name="attachs" id="a_idPicPath"/>
            <font color="red"></font>
        </div>

            <div>
                <label for="yishi">医师：</label>
                <input type="text" name="yishi" id="yishi" value=" ${doctor.docname}">
                <font color="red"></font>
            </div>
        <div class="providerAddBtn">
            <input type="submit" name="add" id="add" value="保存" >
            <input type="button" id="back" name="back" value="返回" >
        </div>
    </form>
    <%--<div class="jeinpbox">--%>
        <%--<input style="text-indent: 4em;" type="text" name="doTime" class="jeinput" id="test04" placeholder="请选择执行时间">--%>
    <%--</div>--%>
</div>
</body>
</html>
<script src="../js/jquery.min.js"></script>
<script src="/js/calendar/WdatePicker.js"></script>
<script src="../lib/layui/layui.js" charset="utf-8"></script>
<script src="../js/x-layui.js" charset="utf-8"></script>
<script src="../js/jquery2.js" charset="utf-8"></script>
<script src="../js/js.js" charset="utf-8"></script>
<script src="../lib/layui/layui.js" charset="utf-8"></script>
   <%-- <script src="../lib/bootstrap/js/bootstrap.js" charset="utf-8"></script>--%>

<script src="../js/x-layui.js" charset="utf-8">
</script>
<script>
    //时间
    layui.use('laydate', function(){
            var laydate = layui.laydate;
        //执行一个laydate实例
        laydate.render({
            elem: '#link3' //指定元素
        });
    });
</script>
